@echo off
REM 设置环境变量禁用GPU加速
set QTWEBENGINE_CHROMIUM_FLAGS=--disable-gpu --disable-software-rasterizer --disable-gpu-sandbox --disable-accelerated-2d-canvas --disable-accelerated-jpeg-decoding --disable-accelerated-mjpeg-decode --disable-accelerated-video-decode --disable-accelerated-video-encode

REM 运行Python程序
python main.py

pause 